package cn.itcast.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class horsemanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public horsemanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andHorsemanIdIsNull() {
            addCriterion("horseman_id is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdIsNotNull() {
            addCriterion("horseman_id is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdEqualTo(Integer value) {
            addCriterion("horseman_id =", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNotEqualTo(Integer value) {
            addCriterion("horseman_id <>", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdGreaterThan(Integer value) {
            addCriterion("horseman_id >", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("horseman_id >=", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdLessThan(Integer value) {
            addCriterion("horseman_id <", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdLessThanOrEqualTo(Integer value) {
            addCriterion("horseman_id <=", value, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdIn(List<Integer> values) {
            addCriterion("horseman_id in", values, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNotIn(List<Integer> values) {
            addCriterion("horseman_id not in", values, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdBetween(Integer value1, Integer value2) {
            addCriterion("horseman_id between", value1, value2, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNotBetween(Integer value1, Integer value2) {
            addCriterion("horseman_id not between", value1, value2, "horsemanId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNull() {
            addCriterion("open_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNotNull() {
            addCriterion("open_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenIdEqualTo(String value) {
            addCriterion("open_id =", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotEqualTo(String value) {
            addCriterion("open_id <>", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThan(String value) {
            addCriterion("open_id >", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("open_id >=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThan(String value) {
            addCriterion("open_id <", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThanOrEqualTo(String value) {
            addCriterion("open_id <=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLike(String value) {
            addCriterion("open_id like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotLike(String value) {
            addCriterion("open_id not like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIn(List<String> values) {
            addCriterion("open_id in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotIn(List<String> values) {
            addCriterion("open_id not in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdBetween(String value1, String value2) {
            addCriterion("open_id between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotBetween(String value1, String value2) {
            addCriterion("open_id not between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andSkeyIsNull() {
            addCriterion("skey is null");
            return (Criteria) this;
        }

        public Criteria andSkeyIsNotNull() {
            addCriterion("skey is not null");
            return (Criteria) this;
        }

        public Criteria andSkeyEqualTo(String value) {
            addCriterion("skey =", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotEqualTo(String value) {
            addCriterion("skey <>", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyGreaterThan(String value) {
            addCriterion("skey >", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyGreaterThanOrEqualTo(String value) {
            addCriterion("skey >=", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLessThan(String value) {
            addCriterion("skey <", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLessThanOrEqualTo(String value) {
            addCriterion("skey <=", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLike(String value) {
            addCriterion("skey like", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotLike(String value) {
            addCriterion("skey not like", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyIn(List<String> values) {
            addCriterion("skey in", values, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotIn(List<String> values) {
            addCriterion("skey not in", values, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyBetween(String value1, String value2) {
            addCriterion("skey between", value1, value2, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotBetween(String value1, String value2) {
            addCriterion("skey not between", value1, value2, "skey");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIsNull() {
            addCriterion("last_visit_time is null");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIsNotNull() {
            addCriterion("last_visit_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeEqualTo(Date value) {
            addCriterion("last_visit_time =", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotEqualTo(Date value) {
            addCriterion("last_visit_time <>", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeGreaterThan(Date value) {
            addCriterion("last_visit_time >", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_visit_time >=", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeLessThan(Date value) {
            addCriterion("last_visit_time <", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_visit_time <=", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIn(List<Date> values) {
            addCriterion("last_visit_time in", values, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotIn(List<Date> values) {
            addCriterion("last_visit_time not in", values, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeBetween(Date value1, Date value2) {
            addCriterion("last_visit_time between", value1, value2, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_visit_time not between", value1, value2, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIsNull() {
            addCriterion("session_key is null");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIsNotNull() {
            addCriterion("session_key is not null");
            return (Criteria) this;
        }

        public Criteria andSessionKeyEqualTo(String value) {
            addCriterion("session_key =", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotEqualTo(String value) {
            addCriterion("session_key <>", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyGreaterThan(String value) {
            addCriterion("session_key >", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyGreaterThanOrEqualTo(String value) {
            addCriterion("session_key >=", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLessThan(String value) {
            addCriterion("session_key <", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLessThanOrEqualTo(String value) {
            addCriterion("session_key <=", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLike(String value) {
            addCriterion("session_key like", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotLike(String value) {
            addCriterion("session_key not like", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIn(List<String> values) {
            addCriterion("session_key in", values, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotIn(List<String> values) {
            addCriterion("session_key not in", values, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyBetween(String value1, String value2) {
            addCriterion("session_key between", value1, value2, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotBetween(String value1, String value2) {
            addCriterion("session_key not between", value1, value2, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNull() {
            addCriterion("avatar_url is null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNotNull() {
            addCriterion("avatar_url is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlEqualTo(String value) {
            addCriterion("avatar_url =", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotEqualTo(String value) {
            addCriterion("avatar_url <>", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThan(String value) {
            addCriterion("avatar_url >", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThanOrEqualTo(String value) {
            addCriterion("avatar_url >=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThan(String value) {
            addCriterion("avatar_url <", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThanOrEqualTo(String value) {
            addCriterion("avatar_url <=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLike(String value) {
            addCriterion("avatar_url like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotLike(String value) {
            addCriterion("avatar_url not like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIn(List<String> values) {
            addCriterion("avatar_url in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotIn(List<String> values) {
            addCriterion("avatar_url not in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlBetween(String value1, String value2) {
            addCriterion("avatar_url between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotBetween(String value1, String value2) {
            addCriterion("avatar_url not between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Byte value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Byte value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Byte value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Byte value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Byte value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Byte value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Byte> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Byte> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Byte value1, Byte value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Byte value1, Byte value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNull() {
            addCriterion("nick_name is null");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNotNull() {
            addCriterion("nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andNickNameEqualTo(String value) {
            addCriterion("nick_name =", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotEqualTo(String value) {
            addCriterion("nick_name <>", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThan(String value) {
            addCriterion("nick_name >", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("nick_name >=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThan(String value) {
            addCriterion("nick_name <", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThanOrEqualTo(String value) {
            addCriterion("nick_name <=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLike(String value) {
            addCriterion("nick_name like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotLike(String value) {
            addCriterion("nick_name not like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameIn(List<String> values) {
            addCriterion("nick_name in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotIn(List<String> values) {
            addCriterion("nick_name not in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameBetween(String value1, String value2) {
            addCriterion("nick_name between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotBetween(String value1, String value2) {
            addCriterion("nick_name not between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneIsNull() {
            addCriterion("horseman_phone is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneIsNotNull() {
            addCriterion("horseman_phone is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneEqualTo(String value) {
            addCriterion("horseman_phone =", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneNotEqualTo(String value) {
            addCriterion("horseman_phone <>", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneGreaterThan(String value) {
            addCriterion("horseman_phone >", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_phone >=", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneLessThan(String value) {
            addCriterion("horseman_phone <", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneLessThanOrEqualTo(String value) {
            addCriterion("horseman_phone <=", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneLike(String value) {
            addCriterion("horseman_phone like", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneNotLike(String value) {
            addCriterion("horseman_phone not like", value, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneIn(List<String> values) {
            addCriterion("horseman_phone in", values, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneNotIn(List<String> values) {
            addCriterion("horseman_phone not in", values, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneBetween(String value1, String value2) {
            addCriterion("horseman_phone between", value1, value2, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPhoneNotBetween(String value1, String value2) {
            addCriterion("horseman_phone not between", value1, value2, "horsemanPhone");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordIsNull() {
            addCriterion("horseman_password is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordIsNotNull() {
            addCriterion("horseman_password is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordEqualTo(String value) {
            addCriterion("horseman_password =", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordNotEqualTo(String value) {
            addCriterion("horseman_password <>", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordGreaterThan(String value) {
            addCriterion("horseman_password >", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_password >=", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordLessThan(String value) {
            addCriterion("horseman_password <", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordLessThanOrEqualTo(String value) {
            addCriterion("horseman_password <=", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordLike(String value) {
            addCriterion("horseman_password like", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordNotLike(String value) {
            addCriterion("horseman_password not like", value, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordIn(List<String> values) {
            addCriterion("horseman_password in", values, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordNotIn(List<String> values) {
            addCriterion("horseman_password not in", values, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordBetween(String value1, String value2) {
            addCriterion("horseman_password between", value1, value2, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanPasswordNotBetween(String value1, String value2) {
            addCriterion("horseman_password not between", value1, value2, "horsemanPassword");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameIsNull() {
            addCriterion("horseman_checkname is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameIsNotNull() {
            addCriterion("horseman_checkname is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameEqualTo(String value) {
            addCriterion("horseman_checkname =", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameNotEqualTo(String value) {
            addCriterion("horseman_checkname <>", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameGreaterThan(String value) {
            addCriterion("horseman_checkname >", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_checkname >=", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameLessThan(String value) {
            addCriterion("horseman_checkname <", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameLessThanOrEqualTo(String value) {
            addCriterion("horseman_checkname <=", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameLike(String value) {
            addCriterion("horseman_checkname like", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameNotLike(String value) {
            addCriterion("horseman_checkname not like", value, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameIn(List<String> values) {
            addCriterion("horseman_checkname in", values, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameNotIn(List<String> values) {
            addCriterion("horseman_checkname not in", values, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameBetween(String value1, String value2) {
            addCriterion("horseman_checkname between", value1, value2, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanChecknameNotBetween(String value1, String value2) {
            addCriterion("horseman_checkname not between", value1, value2, "horsemanCheckname");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberIsNull() {
            addCriterion("horseman_number is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberIsNotNull() {
            addCriterion("horseman_number is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberEqualTo(String value) {
            addCriterion("horseman_number =", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberNotEqualTo(String value) {
            addCriterion("horseman_number <>", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberGreaterThan(String value) {
            addCriterion("horseman_number >", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_number >=", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberLessThan(String value) {
            addCriterion("horseman_number <", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberLessThanOrEqualTo(String value) {
            addCriterion("horseman_number <=", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberLike(String value) {
            addCriterion("horseman_number like", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberNotLike(String value) {
            addCriterion("horseman_number not like", value, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberIn(List<String> values) {
            addCriterion("horseman_number in", values, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberNotIn(List<String> values) {
            addCriterion("horseman_number not in", values, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberBetween(String value1, String value2) {
            addCriterion("horseman_number between", value1, value2, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNumberNotBetween(String value1, String value2) {
            addCriterion("horseman_number not between", value1, value2, "horsemanNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameIsNull() {
            addCriterion("horseman_name is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameIsNotNull() {
            addCriterion("horseman_name is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameEqualTo(String value) {
            addCriterion("horseman_name =", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameNotEqualTo(String value) {
            addCriterion("horseman_name <>", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameGreaterThan(String value) {
            addCriterion("horseman_name >", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_name >=", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameLessThan(String value) {
            addCriterion("horseman_name <", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameLessThanOrEqualTo(String value) {
            addCriterion("horseman_name <=", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameLike(String value) {
            addCriterion("horseman_name like", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameNotLike(String value) {
            addCriterion("horseman_name not like", value, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameIn(List<String> values) {
            addCriterion("horseman_name in", values, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameNotIn(List<String> values) {
            addCriterion("horseman_name not in", values, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameBetween(String value1, String value2) {
            addCriterion("horseman_name between", value1, value2, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanNameNotBetween(String value1, String value2) {
            addCriterion("horseman_name not between", value1, value2, "horsemanName");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerIsNull() {
            addCriterion("horseman_referrer is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerIsNotNull() {
            addCriterion("horseman_referrer is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerEqualTo(String value) {
            addCriterion("horseman_referrer =", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerNotEqualTo(String value) {
            addCriterion("horseman_referrer <>", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerGreaterThan(String value) {
            addCriterion("horseman_referrer >", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_referrer >=", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerLessThan(String value) {
            addCriterion("horseman_referrer <", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerLessThanOrEqualTo(String value) {
            addCriterion("horseman_referrer <=", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerLike(String value) {
            addCriterion("horseman_referrer like", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerNotLike(String value) {
            addCriterion("horseman_referrer not like", value, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerIn(List<String> values) {
            addCriterion("horseman_referrer in", values, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerNotIn(List<String> values) {
            addCriterion("horseman_referrer not in", values, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerBetween(String value1, String value2) {
            addCriterion("horseman_referrer between", value1, value2, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanReferrerNotBetween(String value1, String value2) {
            addCriterion("horseman_referrer not between", value1, value2, "horsemanReferrer");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidIsNull() {
            addCriterion("horseman_wxid is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidIsNotNull() {
            addCriterion("horseman_wxid is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidEqualTo(String value) {
            addCriterion("horseman_wxid =", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidNotEqualTo(String value) {
            addCriterion("horseman_wxid <>", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidGreaterThan(String value) {
            addCriterion("horseman_wxid >", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_wxid >=", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidLessThan(String value) {
            addCriterion("horseman_wxid <", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidLessThanOrEqualTo(String value) {
            addCriterion("horseman_wxid <=", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidLike(String value) {
            addCriterion("horseman_wxid like", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidNotLike(String value) {
            addCriterion("horseman_wxid not like", value, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidIn(List<String> values) {
            addCriterion("horseman_wxid in", values, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidNotIn(List<String> values) {
            addCriterion("horseman_wxid not in", values, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidBetween(String value1, String value2) {
            addCriterion("horseman_wxid between", value1, value2, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanWxidNotBetween(String value1, String value2) {
            addCriterion("horseman_wxid not between", value1, value2, "horsemanWxid");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadIsNull() {
            addCriterion("horseman_head is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadIsNotNull() {
            addCriterion("horseman_head is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadEqualTo(String value) {
            addCriterion("horseman_head =", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadNotEqualTo(String value) {
            addCriterion("horseman_head <>", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadGreaterThan(String value) {
            addCriterion("horseman_head >", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_head >=", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadLessThan(String value) {
            addCriterion("horseman_head <", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadLessThanOrEqualTo(String value) {
            addCriterion("horseman_head <=", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadLike(String value) {
            addCriterion("horseman_head like", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadNotLike(String value) {
            addCriterion("horseman_head not like", value, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadIn(List<String> values) {
            addCriterion("horseman_head in", values, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadNotIn(List<String> values) {
            addCriterion("horseman_head not in", values, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadBetween(String value1, String value2) {
            addCriterion("horseman_head between", value1, value2, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanHeadNotBetween(String value1, String value2) {
            addCriterion("horseman_head not between", value1, value2, "horsemanHead");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderIsNull() {
            addCriterion("horseman_gender is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderIsNotNull() {
            addCriterion("horseman_gender is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderEqualTo(String value) {
            addCriterion("horseman_gender =", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderNotEqualTo(String value) {
            addCriterion("horseman_gender <>", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderGreaterThan(String value) {
            addCriterion("horseman_gender >", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_gender >=", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderLessThan(String value) {
            addCriterion("horseman_gender <", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderLessThanOrEqualTo(String value) {
            addCriterion("horseman_gender <=", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderLike(String value) {
            addCriterion("horseman_gender like", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderNotLike(String value) {
            addCriterion("horseman_gender not like", value, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderIn(List<String> values) {
            addCriterion("horseman_gender in", values, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderNotIn(List<String> values) {
            addCriterion("horseman_gender not in", values, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderBetween(String value1, String value2) {
            addCriterion("horseman_gender between", value1, value2, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanGenderNotBetween(String value1, String value2) {
            addCriterion("horseman_gender not between", value1, value2, "horsemanGender");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaIsNull() {
            addCriterion("horseman_area is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaIsNotNull() {
            addCriterion("horseman_area is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaEqualTo(String value) {
            addCriterion("horseman_area =", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaNotEqualTo(String value) {
            addCriterion("horseman_area <>", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaGreaterThan(String value) {
            addCriterion("horseman_area >", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_area >=", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaLessThan(String value) {
            addCriterion("horseman_area <", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaLessThanOrEqualTo(String value) {
            addCriterion("horseman_area <=", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaLike(String value) {
            addCriterion("horseman_area like", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaNotLike(String value) {
            addCriterion("horseman_area not like", value, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaIn(List<String> values) {
            addCriterion("horseman_area in", values, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaNotIn(List<String> values) {
            addCriterion("horseman_area not in", values, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaBetween(String value1, String value2) {
            addCriterion("horseman_area between", value1, value2, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanAreaNotBetween(String value1, String value2) {
            addCriterion("horseman_area not between", value1, value2, "horsemanArea");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateIsNull() {
            addCriterion("horseman_registdate is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateIsNotNull() {
            addCriterion("horseman_registdate is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateEqualTo(Date value) {
            addCriterionForJDBCDate("horseman_registdate =", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("horseman_registdate <>", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateGreaterThan(Date value) {
            addCriterionForJDBCDate("horseman_registdate >", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("horseman_registdate >=", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateLessThan(Date value) {
            addCriterionForJDBCDate("horseman_registdate <", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("horseman_registdate <=", value, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateIn(List<Date> values) {
            addCriterionForJDBCDate("horseman_registdate in", values, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("horseman_registdate not in", values, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("horseman_registdate between", value1, value2, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegistdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("horseman_registdate not between", value1, value2, "horsemanRegistdate");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankIsNull() {
            addCriterion("horseman_openbank is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankIsNotNull() {
            addCriterion("horseman_openbank is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankEqualTo(String value) {
            addCriterion("horseman_openbank =", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankNotEqualTo(String value) {
            addCriterion("horseman_openbank <>", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankGreaterThan(String value) {
            addCriterion("horseman_openbank >", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_openbank >=", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankLessThan(String value) {
            addCriterion("horseman_openbank <", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankLessThanOrEqualTo(String value) {
            addCriterion("horseman_openbank <=", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankLike(String value) {
            addCriterion("horseman_openbank like", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankNotLike(String value) {
            addCriterion("horseman_openbank not like", value, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankIn(List<String> values) {
            addCriterion("horseman_openbank in", values, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankNotIn(List<String> values) {
            addCriterion("horseman_openbank not in", values, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankBetween(String value1, String value2) {
            addCriterion("horseman_openbank between", value1, value2, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanOpenbankNotBetween(String value1, String value2) {
            addCriterion("horseman_openbank not between", value1, value2, "horsemanOpenbank");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersIsNull() {
            addCriterion("horseman_credit_card_numbers is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersIsNotNull() {
            addCriterion("horseman_credit_card_numbers is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersEqualTo(String value) {
            addCriterion("horseman_credit_card_numbers =", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersNotEqualTo(String value) {
            addCriterion("horseman_credit_card_numbers <>", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersGreaterThan(String value) {
            addCriterion("horseman_credit_card_numbers >", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_credit_card_numbers >=", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersLessThan(String value) {
            addCriterion("horseman_credit_card_numbers <", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersLessThanOrEqualTo(String value) {
            addCriterion("horseman_credit_card_numbers <=", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersLike(String value) {
            addCriterion("horseman_credit_card_numbers like", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersNotLike(String value) {
            addCriterion("horseman_credit_card_numbers not like", value, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersIn(List<String> values) {
            addCriterion("horseman_credit_card_numbers in", values, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersNotIn(List<String> values) {
            addCriterion("horseman_credit_card_numbers not in", values, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersBetween(String value1, String value2) {
            addCriterion("horseman_credit_card_numbers between", value1, value2, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanCreditCardNumbersNotBetween(String value1, String value2) {
            addCriterion("horseman_credit_card_numbers not between", value1, value2, "horsemanCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberIsNull() {
            addCriterion("horseman_id_number is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberIsNotNull() {
            addCriterion("horseman_id_number is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberEqualTo(String value) {
            addCriterion("horseman_id_number =", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberNotEqualTo(String value) {
            addCriterion("horseman_id_number <>", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberGreaterThan(String value) {
            addCriterion("horseman_id_number >", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_id_number >=", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberLessThan(String value) {
            addCriterion("horseman_id_number <", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberLessThanOrEqualTo(String value) {
            addCriterion("horseman_id_number <=", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberLike(String value) {
            addCriterion("horseman_id_number like", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberNotLike(String value) {
            addCriterion("horseman_id_number not like", value, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberIn(List<String> values) {
            addCriterion("horseman_id_number in", values, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberNotIn(List<String> values) {
            addCriterion("horseman_id_number not in", values, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberBetween(String value1, String value2) {
            addCriterion("horseman_id_number between", value1, value2, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberNotBetween(String value1, String value2) {
            addCriterion("horseman_id_number not between", value1, value2, "horsemanIdNumber");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeIsNull() {
            addCriterion("horseman_id_number_time is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeIsNotNull() {
            addCriterion("horseman_id_number_time is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeEqualTo(String value) {
            addCriterion("horseman_id_number_time =", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeNotEqualTo(String value) {
            addCriterion("horseman_id_number_time <>", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeGreaterThan(String value) {
            addCriterion("horseman_id_number_time >", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_id_number_time >=", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeLessThan(String value) {
            addCriterion("horseman_id_number_time <", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeLessThanOrEqualTo(String value) {
            addCriterion("horseman_id_number_time <=", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeLike(String value) {
            addCriterion("horseman_id_number_time like", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeNotLike(String value) {
            addCriterion("horseman_id_number_time not like", value, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeIn(List<String> values) {
            addCriterion("horseman_id_number_time in", values, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeNotIn(List<String> values) {
            addCriterion("horseman_id_number_time not in", values, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeBetween(String value1, String value2) {
            addCriterion("horseman_id_number_time between", value1, value2, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberTimeNotBetween(String value1, String value2) {
            addCriterion("horseman_id_number_time not between", value1, value2, "horsemanIdNumberTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeIsNull() {
            addCriterion("horseman_register_time is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeIsNotNull() {
            addCriterion("horseman_register_time is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeEqualTo(String value) {
            addCriterion("horseman_register_time =", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeNotEqualTo(String value) {
            addCriterion("horseman_register_time <>", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeGreaterThan(String value) {
            addCriterion("horseman_register_time >", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_register_time >=", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeLessThan(String value) {
            addCriterion("horseman_register_time <", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeLessThanOrEqualTo(String value) {
            addCriterion("horseman_register_time <=", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeLike(String value) {
            addCriterion("horseman_register_time like", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeNotLike(String value) {
            addCriterion("horseman_register_time not like", value, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeIn(List<String> values) {
            addCriterion("horseman_register_time in", values, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeNotIn(List<String> values) {
            addCriterion("horseman_register_time not in", values, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeBetween(String value1, String value2) {
            addCriterion("horseman_register_time between", value1, value2, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanRegisterTimeNotBetween(String value1, String value2) {
            addCriterion("horseman_register_time not between", value1, value2, "horsemanRegisterTime");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassIsNull() {
            addCriterion("horseman_car_class is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassIsNotNull() {
            addCriterion("horseman_car_class is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassEqualTo(String value) {
            addCriterion("horseman_car_class =", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassNotEqualTo(String value) {
            addCriterion("horseman_car_class <>", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassGreaterThan(String value) {
            addCriterion("horseman_car_class >", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_car_class >=", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassLessThan(String value) {
            addCriterion("horseman_car_class <", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassLessThanOrEqualTo(String value) {
            addCriterion("horseman_car_class <=", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassLike(String value) {
            addCriterion("horseman_car_class like", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassNotLike(String value) {
            addCriterion("horseman_car_class not like", value, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassIn(List<String> values) {
            addCriterion("horseman_car_class in", values, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassNotIn(List<String> values) {
            addCriterion("horseman_car_class not in", values, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassBetween(String value1, String value2) {
            addCriterion("horseman_car_class between", value1, value2, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanCarClassNotBetween(String value1, String value2) {
            addCriterion("horseman_car_class not between", value1, value2, "horsemanCarClass");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToIsNull() {
            addCriterion("horseman_valid_to is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToIsNotNull() {
            addCriterion("horseman_valid_to is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToEqualTo(String value) {
            addCriterion("horseman_valid_to =", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToNotEqualTo(String value) {
            addCriterion("horseman_valid_to <>", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToGreaterThan(String value) {
            addCriterion("horseman_valid_to >", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_valid_to >=", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToLessThan(String value) {
            addCriterion("horseman_valid_to <", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToLessThanOrEqualTo(String value) {
            addCriterion("horseman_valid_to <=", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToLike(String value) {
            addCriterion("horseman_valid_to like", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToNotLike(String value) {
            addCriterion("horseman_valid_to not like", value, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToIn(List<String> values) {
            addCriterion("horseman_valid_to in", values, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToNotIn(List<String> values) {
            addCriterion("horseman_valid_to not in", values, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToBetween(String value1, String value2) {
            addCriterion("horseman_valid_to between", value1, value2, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidToNotBetween(String value1, String value2) {
            addCriterion("horseman_valid_to not between", value1, value2, "horsemanValidTo");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromIsNull() {
            addCriterion("horseman_valid_from is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromIsNotNull() {
            addCriterion("horseman_valid_from is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromEqualTo(String value) {
            addCriterion("horseman_valid_from =", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromNotEqualTo(String value) {
            addCriterion("horseman_valid_from <>", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromGreaterThan(String value) {
            addCriterion("horseman_valid_from >", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_valid_from >=", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromLessThan(String value) {
            addCriterion("horseman_valid_from <", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromLessThanOrEqualTo(String value) {
            addCriterion("horseman_valid_from <=", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromLike(String value) {
            addCriterion("horseman_valid_from like", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromNotLike(String value) {
            addCriterion("horseman_valid_from not like", value, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromIn(List<String> values) {
            addCriterion("horseman_valid_from in", values, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromNotIn(List<String> values) {
            addCriterion("horseman_valid_from not in", values, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromBetween(String value1, String value2) {
            addCriterion("horseman_valid_from between", value1, value2, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanValidFromNotBetween(String value1, String value2) {
            addCriterion("horseman_valid_from not between", value1, value2, "horsemanValidFrom");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenIsNull() {
            addCriterion("horseman_isopen is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenIsNotNull() {
            addCriterion("horseman_isopen is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenEqualTo(String value) {
            addCriterion("horseman_isopen =", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenNotEqualTo(String value) {
            addCriterion("horseman_isopen <>", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenGreaterThan(String value) {
            addCriterion("horseman_isopen >", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_isopen >=", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenLessThan(String value) {
            addCriterion("horseman_isopen <", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenLessThanOrEqualTo(String value) {
            addCriterion("horseman_isopen <=", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenLike(String value) {
            addCriterion("horseman_isopen like", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenNotLike(String value) {
            addCriterion("horseman_isopen not like", value, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenIn(List<String> values) {
            addCriterion("horseman_isopen in", values, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenNotIn(List<String> values) {
            addCriterion("horseman_isopen not in", values, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenBetween(String value1, String value2) {
            addCriterion("horseman_isopen between", value1, value2, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIsopenNotBetween(String value1, String value2) {
            addCriterion("horseman_isopen not between", value1, value2, "horsemanIsopen");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoIsNull() {
            addCriterion("horseman_id_number_photo is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoIsNotNull() {
            addCriterion("horseman_id_number_photo is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoEqualTo(String value) {
            addCriterion("horseman_id_number_photo =", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoNotEqualTo(String value) {
            addCriterion("horseman_id_number_photo <>", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoGreaterThan(String value) {
            addCriterion("horseman_id_number_photo >", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_id_number_photo >=", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoLessThan(String value) {
            addCriterion("horseman_id_number_photo <", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoLessThanOrEqualTo(String value) {
            addCriterion("horseman_id_number_photo <=", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoLike(String value) {
            addCriterion("horseman_id_number_photo like", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoNotLike(String value) {
            addCriterion("horseman_id_number_photo not like", value, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoIn(List<String> values) {
            addCriterion("horseman_id_number_photo in", values, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoNotIn(List<String> values) {
            addCriterion("horseman_id_number_photo not in", values, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoBetween(String value1, String value2) {
            addCriterion("horseman_id_number_photo between", value1, value2, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanIdNumberPhotoNotBetween(String value1, String value2) {
            addCriterion("horseman_id_number_photo not between", value1, value2, "horsemanIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelIsNull() {
            addCriterion("horseman_star_level is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelIsNotNull() {
            addCriterion("horseman_star_level is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelEqualTo(String value) {
            addCriterion("horseman_star_level =", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelNotEqualTo(String value) {
            addCriterion("horseman_star_level <>", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelGreaterThan(String value) {
            addCriterion("horseman_star_level >", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_star_level >=", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelLessThan(String value) {
            addCriterion("horseman_star_level <", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelLessThanOrEqualTo(String value) {
            addCriterion("horseman_star_level <=", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelLike(String value) {
            addCriterion("horseman_star_level like", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelNotLike(String value) {
            addCriterion("horseman_star_level not like", value, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelIn(List<String> values) {
            addCriterion("horseman_star_level in", values, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelNotIn(List<String> values) {
            addCriterion("horseman_star_level not in", values, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelBetween(String value1, String value2) {
            addCriterion("horseman_star_level between", value1, value2, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanStarLevelNotBetween(String value1, String value2) {
            addCriterion("horseman_star_level not between", value1, value2, "horsemanStarLevel");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatIsNull() {
            addCriterion("horseman_lat is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatIsNotNull() {
            addCriterion("horseman_lat is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatEqualTo(String value) {
            addCriterion("horseman_lat =", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatNotEqualTo(String value) {
            addCriterion("horseman_lat <>", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatGreaterThan(String value) {
            addCriterion("horseman_lat >", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_lat >=", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatLessThan(String value) {
            addCriterion("horseman_lat <", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatLessThanOrEqualTo(String value) {
            addCriterion("horseman_lat <=", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatLike(String value) {
            addCriterion("horseman_lat like", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatNotLike(String value) {
            addCriterion("horseman_lat not like", value, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatIn(List<String> values) {
            addCriterion("horseman_lat in", values, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatNotIn(List<String> values) {
            addCriterion("horseman_lat not in", values, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatBetween(String value1, String value2) {
            addCriterion("horseman_lat between", value1, value2, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLatNotBetween(String value1, String value2) {
            addCriterion("horseman_lat not between", value1, value2, "horsemanLat");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonIsNull() {
            addCriterion("horseman_lon is null");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonIsNotNull() {
            addCriterion("horseman_lon is not null");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonEqualTo(String value) {
            addCriterion("horseman_lon =", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonNotEqualTo(String value) {
            addCriterion("horseman_lon <>", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonGreaterThan(String value) {
            addCriterion("horseman_lon >", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonGreaterThanOrEqualTo(String value) {
            addCriterion("horseman_lon >=", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonLessThan(String value) {
            addCriterion("horseman_lon <", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonLessThanOrEqualTo(String value) {
            addCriterion("horseman_lon <=", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonLike(String value) {
            addCriterion("horseman_lon like", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonNotLike(String value) {
            addCriterion("horseman_lon not like", value, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonIn(List<String> values) {
            addCriterion("horseman_lon in", values, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonNotIn(List<String> values) {
            addCriterion("horseman_lon not in", values, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonBetween(String value1, String value2) {
            addCriterion("horseman_lon between", value1, value2, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andHorsemanLonNotBetween(String value1, String value2) {
            addCriterion("horseman_lon not between", value1, value2, "horsemanLon");
            return (Criteria) this;
        }

        public Criteria andTokenIsNull() {
            addCriterion("token is null");
            return (Criteria) this;
        }

        public Criteria andTokenIsNotNull() {
            addCriterion("token is not null");
            return (Criteria) this;
        }

        public Criteria andTokenEqualTo(String value) {
            addCriterion("token =", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotEqualTo(String value) {
            addCriterion("token <>", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThan(String value) {
            addCriterion("token >", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThanOrEqualTo(String value) {
            addCriterion("token >=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThan(String value) {
            addCriterion("token <", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThanOrEqualTo(String value) {
            addCriterion("token <=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLike(String value) {
            addCriterion("token like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotLike(String value) {
            addCriterion("token not like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenIn(List<String> values) {
            addCriterion("token in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotIn(List<String> values) {
            addCriterion("token not in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenBetween(String value1, String value2) {
            addCriterion("token between", value1, value2, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotBetween(String value1, String value2) {
            addCriterion("token not between", value1, value2, "token");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}